package cate.game.role.farm.dailyfb.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdDailyFb;
import cate.game.role.Role;
import cate.game.role.farm.dailyfb.MyDailyFb;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "我的每日副本数据 の 返回")
public class DailyFbDataResp implements MsgOutput {
    @NoteField(value = "主角【每日副本】数据")
    public MyDailyFb data;

    public DailyFbDataResp(Role role) {
        this.data = role.getFarm().dailyFb;
    }

    public DailyFbDataResp() {
    }

    @Override
    public MsgConfig conf() {
        return MsgIdDailyFb.DAILYFB_DATA_RESP;
    }
}
